<form id="pagerForm" method="post" action="/index.php?act=area&st=main">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="province" value="{$province}" />
	<input type="hidden" name="city" value="{$city}" />
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="/index.php?act=area&st=main" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					省：<input type="text" name="province" value="{$province}" />
				</td>
				<td>
					市：<input type="text" name="city" value="{$city}" />
				</td>
				<td>
					<ul>
						<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
					</ul>
				</td>
			</tr>
		</table>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/index.php?act=area&st=area_add" target="dialog" rel="add_big_class" title="添加地区" mask="true" width="550" height="300"><span>添加</span></a></li>
			<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" href="/index.php?act=area&st=area_delete" class="delete" postType="string"><span>删除</span></a></li>
			<li><a class="edit" href="/index.php?act=area&st=area_edit&id={sid_user}" target="dialog" rel="edit_order" title="编辑地区" mask="true" width="550" height="300"><span>修改</span></a></li>
			<li><a class="icon" href="/index.php?act=area&st=get_betch_model" target="dwzExport" targetType="navTab" title="下载批量上传模板?"><span>批量上传模板下载</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="113">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="80">省</th>
				<th width="80">市</th>
				<th width="80">添加人</th>
				<th width="80">添加时间</th>		
			</tr>
		</thead>
		<tbody>
			{foreach item=area from=$area_list}
			<tr target="sid_user" rel="{$area.area_id}">
				<td><input name="ids" value="{$area.area_id}" type="checkbox"></td>
				<td>{$area.province}</td>
				<td>{$area.city}</td>
				<td>{$area.author}</td>
				<td>{$area.raw_add_time}</td>		
			</tr>
			{/foreach}
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				{foreach item=num from=$shoNum}
				<option value="{$num}" {if $numPerPage eq $num}selected{/if}>{$num}</option>
				{/foreach}
			</select>
			<span>条，共{$total}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$total}" numPerPage="{$numPerPage}" pageNumShown="{$pageNumShown}" currentPage="{$pageNum}"></div>
	</div>
</div>